<template>
  <div class="table-container">
      <el-table
        :key="tablekey"
        v-loading="listLoading"
        :data="list"
        border
        fit
        highlight-current-row
        style="width:100%"
        @sort-change="sortChange"
      ></el-table>
  </div>
</template>

<script>
export default {
    name:'Table',
    data(){
        return{
            tablekey:0,
            listLoading:true
        }
    }
}
</script>

<style>
.table-container{
    padding: 10px 20px 20px 20px;
}
</style>